Address test pattern generator for burst transfer operation of a SDRAM

ABSTRACT

An address pattern generator for testing a semiconductor device, particularly, a synchronous DRAM is disclosed. The address pattern generator can switch an interleave mode and a sequential mode of address generation for a semiconductor device under test during a test process in real time and generates column addresses for the device under test by a Y address generation section alone. The address generator includes an address selector that selects and outputs from a lower Y address signal, Z address signal, and an operation mode control signal is arranged, a conversion memory that outputs certain conversion table contents is arranged, a multiplexer that selects and outputs an output from the conversion memory and the lower Y address signal in accordance with the burst length control signal. In another aspect, the address pattern generator includes a counter that loads the lower address signal from the Y address generator section for the sequential mode and loads a fixed value for the interleave mode, an exclusive OR gate that provides an output signal of the counter to an input terminal and the lower address signal from the Y address generation section to the other input terminal, and a multiplexer that selects the output signal of the counter for the sequential mode and the output signal of the exclusive OR gate for the interleave mode.

FIELD OF THE INVENTION

This invention relates to a test pattern generator that test semiconductor devices, especially related to an address pattern generator for generating an address pattern for a burst transfer operation of a synchronous DRAM.

BACKGROUND OF THE INVENTION

In general, a semiconductor test system is used to test various semiconductor devices such as a semiconductor memory. For this purpose, a semiconductor test system generates test patterns to apply the test pattern to a device under test. The devices to be tested are becoming to operate at higher speeds, and one of them is a synchronous DRAM.

A synchronous DRAM (SDRAM), unlike a conventional DRAM, is a memory that makes a continuous access of the certain range of addresses possible by itself at high speed by having a special architecture for the continuous access, thus increasing the overall speed of address access. In a typical SDRAM, a read/write rate of 100 Mbytes/sec or greater is possible. For increasing the rate of the continuous access with high speed like this, the read/write of SDRAM is performed in a burst mode. The burst mode is a mode of address access in a memory where data in the same row addresses are read or written continuously by a block of 2, 4, or 8 words or the like. In addition, the access for such words in the block is made by simply providing an initial address of the block. Afterward, the remaining addresses are generated automatically in the SDRAM by itself in accordance with its operation mode, i.e., a burst transfer mode, which results in a high speed operation.

A SDRAM has the following characteristics:

(1) Its inside is divided into two banks and the high speed access is made possible by switching the bank.

(2) The addressing and length of a burst during the burst transfer can be switched by a mode register.

(3) The address and data are synchronized with a clock signal.

In addition, there are two methods for the address sequence of the burst transfer; a sequential mode and an interleave mode, which are determined by an address sequence from a CPU. A start address for each burst address sequence method is generated by the following manners in the inside of the SDRAM.

In the sequential mode, the addresses are generated by addition of the burst start address and an output of an internal counter.

Whereas in the interleave mode, the addresses are generated by an exclusive OR of the burst start address and an output of an internal counter.

As a test pattern generator for this type of SDRAM, an example of technology is disclosed in Japanese Patent Application No. 6-73893 Japanese Patent Laid Open Publication No. 7-262799. This technology offers a test pattern generation system for a SDRAM and its method that generates a test pattern for a SDRAM by arranging a dedicated wrap conversion section or providing a method for converting to the wrap addresses. For this purpose, the system is composed of a wrap conversion means which receives two kinds of input data from the pattern generator and outputs the data by converting based on predetermined logical circuit information. In addition, the test pattern generation method for a SDRAM in this conventional technology is composed by inputting a column address data (for example, Y0-Y2) and a wrap address (for example, Z0-Z2), and outputting an address by converting the column address data and wrap addresses a predetermined logical formula.

Generally, in order to perform a failure analysis of the internal cell of a device to be tested, it must generate not only an address provided to the memory to be tested, but also addresses for the burst addresses automatically generated in the memory to be tested.

FIG. 8 illustrates the address generation method of the sequential mode and differences in designation of the column addresses by a difference in the burst length in the conventional semiconductor memory test system. The burst address is generated by storing the burst start address in an initial value storage register 31 of Z and incrementing by an address operation section 32 of Z. The column address is generated such that Z address (burst addresses) are inserted into the Y address by a formatter 35. The row address is generated in a X address generation section 10. In this way, the testing is performed by assigning the column address by the formatter. Hence, when changing the setting of the burst length, the address assignments for the entire column addresses must be reset. Since the resetting can be done by the formatter during testing, it has a shortcoming of not being able to change the burst length in real time during testing.

FIG. 9 illustrates an address generation method of the interleave mode. A Y address generation section 20 is composed of initial value registers 211, 212, an address operation section 22 and an arithmetic logical operation section 23. In this case, the burst address is generated by executing an exclusive OR of the arithmetic logical operation section 23 of address generator. The burst start address is set in the register 211. The internal counter address of SDRAM is generated by loading the initial value 0 into the register 212 and incrementing in the operation section 22. The burst address is generated by taking an exclusive OR of the operation section 22 and register 211 in the arithmetic logical operation section 23.

In the aforementioned test methods, the sequential mode and interleave mode must have separate patterns for testing. Hence, the pattern generation for testing presents a problem of becoming cumbersome. This kind of traditional address generators have shortcomings of not being able to change the burst length in real time during testing and change the operation modes of the sequential mode and interleave mode in real time during testing.

SUMMARY OF THE INVENTION

The first objective of this invention is to offer an address generator that can eliminate these shortcomings, switch the burst length of a burst transfer for SDRAM and switch the interleave mode and sequential mode during testing. Furthermore, the second objective is to offer an address generator that generates column addresses by the Y address generation section alone instead of the two Y and Z address generator sections.

The first embodiment by this invention is composed as follows:

The address pattern generator for testing devices to be measured comprises: an address selector 40 consisting of n Bits that selects and outputs from a lower Y address signal (for example, Y0-Y2) from the Y address generation section 20, Z address signal (for example, Z0-Z2) from a Z address generation section 30, and an operation mode control signal (for example, CO) from an instruction memory 90; a conversion memory 50 that outputs constant conversion table contents by the output of said n bits address selector 40 an address signal; a multiplexer 60 that selects and outputs the burst address (for example, B0-2) for each bit, which is an output from said conversion memory 50, and a lower address signal (for example, Y0-2) from said Y address generation 20 in accordance with the burst length control signal (for example, BS0-2).

In addition, the second embodiment of this invention is composed as follows:

The address pattern generator for testing devices comprises: a counter 91 that loads a lower address signal (for example, Y0-2) from the Y address generator section 20 for the sequential mode and loads a fixed value (#0) for the interleave mode by a control signal from the instruction memory 90; an exclusive OR gate 93 that provides an output signal of said counter 91 to an input terminal 1 and the lower address signal (for example, Y0-2) from the Y address generation section 20 to the other input terminal; a multiplexer 94 that selects the output signal of said counter 91 for the sequential mode and the output signal of said exclusive OR gate 93 for the interleave mode by the control signal from the instruction memory 90; a multiplexer 95 that selects the output signal of said multiplexer 94 when the data bit is 1 and the lower Y address signal from the Y address generation section 20 when the data bit is 0.

In accordance with the first embodiment of this invention, as the conversion data for the maximum burst length is set in the conversion memory, controlling the instruction memory arbitrarily during testing, which changes the setting of the register 70 for control, allows the conversion of the burst length. In addition, in the first embodiment, because a difference in the burst address generation section between the sequential mode and interleave mode is made by the conversion memory 50, programs for generating test addresses for the burst address of the sequential mode and interleave mode can be shared.

Furthermore, in accordance with the second embodiment of this invention, SDRAM loads the lower Y address signal to the counter 91 for the sequential mode and load (#0) for the interleave mode in synchronizing with timing which sets /CAS (column address strobe), which is applied to SDRAM, to Row by the control signal of the instruction memory 90. Note that the actual timing relation is generated based on the output signal from the memory to be measured. The counter 91 in the address generator increments by one in synchronizing with SDPAM, which generates the burst address in itself by the clock input. This increment of one results in the insertion of a burst address in the lower Y address identical to one generated in SDRAM. In addition, when changing the burst length on the SDRAM side during testing, data which specifies the same burst length in the address generator is set. In this way, when changing the burst type on SDRAM during testing, switching the type of the sequential mode and interleave mode is carried out by switching the select signal of the multiplexer 94 of the address generator with the control signal from the instruction memory 90. Therefore, the burst type and burst length can be changed arbitrarily during the tests of SDRAM. In addition, as the column address is generated by one of the Y address generation section 20, the program writing for the address generation becomes simpler than the conventional two Y and Z address generation sections.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of the address pattern generation illustrating the first embodiment of this invention.

FIG. 2 illustrates an example of assigning the address selection at the address selector 40.

FIG. 3 is an example of the address assignments of the conversion memory 50.

FIG. 4 shows a relation of the burst length for the column address bits.

FIG. 5 illustrates a composition example of the multiplexer 60.

FIG. 6 is a block diagram of the address pattern generator by the second embodiment.

FIG. 7 shows a relation of the burst address bit (B0-B2) being inserted to the Y address bit.

FIG. 8 shows an address generation method of the sequential mode in the conventional semiconductor memory test system and a difference of the column address assignments due to the difference of the burst lengths.

FIG. 9 shows an address generation method of the interleave mode.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The present invention is described by referring to the drawings. FIG. 1 is a block diagram of the address pattern generation illustrating the first embodiment of the present invention.

As shown in FIG. 1, the address pattern generator is composed by the address selection 40, conversion memory 50, multiplexer 60 and register 70 for control. The burst start address is generated in the Y address generation section 20 and the internal count address is generated in the Z address generation section 30.

FIG. 2 illustrates an example of assigning the address selection at the address selector 40. The address selector 40 is composed of an address pointer 41, decoder 42, registers (431, 432, 433) and multiplexers (441, 442). The registers (431, 432, 433) have the same number of bits (n) as the number of the address bits of the conversion memory 50, and selects the conversion memory address bits output from the address pointer 41 and decoder 42, and stores the selector data in each register (431, 432, 433). The conversion memory address is selected from the Y and Z addresses, and the like by selected signals (S1, S2, S3) from each register (431, 432, 433).

FIG. 3 is an example of the address assignments of the conversion memory 50. In this example, the conversion memory address (n) consists of 7 bits. Hence, the multiplexer (441, 442) is composed of 7. In this example, the operation mode control signal, which switches the sequential mode and interleave mode, is assigned in addition to the Y and Z addresses. Said operation mode control signal 780 (for example, CO) is supplied from the control register 70. Note that the address selection data of the conversion memory 50 is preset in the register prior to the testing.

The address sequences for the maximum burst length of each sequential mode and interleave mode are stored in separate addresses in advance. For example, when there are the burst lengths of 2, 4 and 8, the generation patterns of the sequential mode and interleave mode for the burst length of 8 are stored in memory.

In addition, the burst length of 4 in contrast to the burst length of 8 becomes identical to the sequence of the lower 2 bits when considered by a binary system. Similarly, the burst length of 2 becomes identical to the sequence of the lower 1 bit when considered in a binary system in contrast to the burst length of 8. Hence, the address conversion is made possible by storing the address sequence of the maximum burst length in the conversion memory 50 and changing the control bit length.

FIG. 3 illustrates an example of the burst address generation which was converted in accordance with the burst address (Y0-Y2), counter address (Z0-Z2) and operation mode control signal (CO) in the conversion memory 50. For example, in the sequential mode (the operation mode control signal CO=0), when the burst address Y0-Y2=0, desirable generation data is stored in the conversion memory address A0-A6=0 if the counter address Z0-Z2=0. Similarly, conversion data for the interleave mode (the operation mode control signal CO=1) is also stored in the conversion memory 50. When the conversion memory is accessed by these addresses (Y0-Y2, Z0-Z2, CO) during the tests of SDRAM, the retrieved data of the conversion memory is output as the burst address. In this way, the burst address generation for the sequential mode and interleave mode is made possible.

The register 70 for control latches the operation mode control data and the burst length control data which are described in the address operation area of the instruction memory 90. The reason for having the register is that as long as the setting of the operation mode and burst length is not switched in the instruction memory, the testing is possible with the same setting, and it has an advantage of eliminating the description of the operation mode for all the cycles. As the operation mode control signal 780 (for example, CO) among the outputs of the register 70 for control is provided to the address selector 40, the sequential mode and interleave mode can be switched arbitrarily during testing.

FIG. 4 shows a relation of the burst length for the column address bits. The control is carried out such that the burst length control signal 770 (for example, BS0-BS2), which is an output of the control register 70, is provided to the multiplexer 60 and the lower 3 bits of the column address switches the Y address (Y0-Y2) and the burst address (B0-B2) from the conversion memory 50 for each bit by this control signal (BS0-BS2).

FIG. 5 illustrates a composition example of the multiplexer 60. The operation is such that when the burst length is 8, the burst address B0-B2 is selected by setting the 3 bits of BS0-BS2 to all 1. When the burst length is 4, the column address bits 0, 1, 2 selects the burst address B0, B1, and Y2 of the Y address, respectively by setting BS2, BS1, and BS0 to 0, 1, 1, respectively. Similarly, when the burst length is 2, the column address bits 0, 1, 2 selects the burst address B0, Y1 of the Y address, and Y2 of the Y address, respectively by setting BS2, BS1, and BS0 to 0, 0, 1, respectively.

From the foregoing, as the conversion data for the maximum burst length is set in the conversion memory, controlling the instruction memory arbitrarily during testing, which changes the setting of the register 70 for control, allows the conversion of the burst length. In addition, in the first embodiment, because the difference in the burst address generation section between the sequential mode and interleave mode is made by the conversion memory 50, programs for generating test addresses for the burst address of the sequential mode and interleave mode can be shared. That is, separate programs for each mode are no longer necessary.

The second embodiment of this invention is explained by referring to the figures.

In the above first embodiment, the address sequence is stored as the conversion table in the conversion memory 50 and generated. However, this conversion section can be composed as follows:

FIG. 6 is a block diagram of the address pattern generator by the second embodiment. FIG. 7 shows a relation of the burst address bit (B0-B2) being inserted to the Y address bit.

As shown in FIG. 6, the conversion 91 consists of 3 bits in this example. For the sequential mode, the lower Y address signal 725 (Y0-Y2) from the Y address generation section 20 is loaded by the control signal from the instruction memory 90. For the interleave mode, (#0) is loaded regardless of the Y address signal. After loading, the counter is incremented by one in synchronizing with the operation of SDRAM.

The multiplexer 94 selects a signal on the counter 91 side for the sequential mode and selects a signal on the exclusive OR gate 93 side for the interleave mode by the control signal from the instruction memory 90 and outputs as the burst address 750 (B0-B2).

In this example, the register 92 consists of 3 bits and a value is set by the control signal from the instruction memory 90, for example, an output 770 (for example, RD0-RD2) is connected to the input of the multiplexer 95 in a bit-to-bit basis.

The multiplexer 95 selects a signal on the multiplexer 94 side when the data bit of the register 92 is 1 while it selects a signal on the Y address generation section 20 side when it is 0. In this way, the insertion of the Y address bits is performed in the register 92 and multiplexer 95 as shown in FIG. 7.

The operation of the second embodiment is performed as follows. When starting the SDRAM testing and setting the burst type in the internal mode register of SDRAM, a command of switching to the instruction memory 90 in the address generation is stored.

Next, SDRAM loads the lower Y address signal to the counter 91 for the sequential mode and load (#0) for the interleave mode in synchronizing with timing which sets /CAS, which is impressed to SDRAM, to Row by the control signal of the instruction memory 90. Note that the actual timing relation is a relation where a signal from the pattern generator is applied to SDRAM, however, as it is easier to understand by paying attention to the operation of SDRAM, it mainly express the operation of SDRAM. This will be the same from now on.

The counter 91 in the address generator increments by one in synchronizing with SDRAM, which generates the burst address in itself by the clock input. This increment of one results in the insertion of a burst address in the lower Y address identical to one generated in SDRAM.

In addition, when changing the burst length on the SDRAM side during testing, data which specifies the same burst length is set in the register 92 of the address generator. In this way, the output 750 of the multiplexer 94 does not change (for example, B0-B2), but Y2 instead of B2 is output at the column address bit 2 and the burst address (B0-B1) becomes 2 bits.

In this way, when changing the burst type on the SDRAM side during testing, switching the type of the sequential mode and interleave mode is carried out by switching the select signal of the multiplexer 94 of the address generator with the control signal 840 from the instruction memory 90.

Therefore, the burst type and burst length can be changed arbitrarily during the tests of SDRAMs. In addition, as the column address is generated by one of the Y address generation section 20, the program writing for the address generation becomes easier than the conventional two Y and Z address generation sections.

Note that in the above each embodiment, it explained for the case of up to the burst length of 8 words. However, it can deal with entire words by expanding the counter, register, multiplexer, etc. to a necessary number of bits.

Because the first and second embodiments are composed as described above, it has the following effects. It could switch the burst length of the burst transfer of SDRAM during testing, and offer an address generator that can switch the sequential mode and interleave mode during testing. In addition, it could offer an address generator that generates the column address with the Y address generation section alone instead of the two Y and Z address generation sections. 

We claim:
 1. An address pattern generator used for testing a semiconductor device and for changing modes of address generation in real time, comprising:an address selector (40) for providing n bits data by selecting either of a lower Y address signal (725) from a Y address generation section (20), Z address signal (730) from a Z address generation section (30), or an operation mode control signal (780) from an instruction memory (90); a conversion memory (50) that outputs predetermined conversion table contents as an address signal of said n bits data from said address selector (40); a multiplexer (60) that selects and outputs either a burst address signal (750) which is an output from said conversion memory (50) or a lower address signal (725) from said Y address generation section (20) in accordance with a burst length control signal (770) for each bit of said burst length control signal.
 2. The address pattern generator as defined in claim 1, wherein:said address selector (40) includes registers (431, 432, 433) with n bits each register of which stores data selected by an address pointer (41) and a decoder (42); and said multiplexer (441, 442) is composed of n bits, said multiplexer selecting either the lower Y address signal (725) from the Y address generation section (20), the Z address signal (730) from the Z address generation section (30), or the operation mode control signal (780) from the instruction memory (90) in response to each output value of said registers. 